-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[wasm64] Remove temporary toIndexType workaround #22773
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
30271f3 to
0dd9f78
Compare
| function toIndexType(x) { | ||
| if (MEMORY64 != 1) return x; | ||
| return `toIndexType(${x})`; | ||
| return to64(x); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we replace calls from toIndexType to to64? Or do we think the distinction is important/might matter later?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I lean towards keeping the distinction, but just a thought.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I thought of doing that. Can always be done as followup I guess?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Followup sounds fine, but also I am not sure if that is worthwhile. Unless we are certain we won't care about the difference later (which I am not sure of myself).
0dd9f78 to
d239a63
Compare
19669ae to
148a408
Compare
This involved using toIndexType in a few more places due to recent wasm64 changes requiring BitInt in more places. Split out from emscripten-core#22773
This involved using toIndexType in a few more places due to recent wasm64 changes requiring BitInt in more places. Split out from emscripten-core#22773
This involved using toIndexType in a few more places due to recent wasm64 changes requiring BitInt in more places. Split out from emscripten-core#22773
This involved using toIndexType in a few more places due to recent wasm64 changes requiring BitInt in more places. Split out from emscripten-core#22773
This involved using toIndexType in a few more places due to recent wasm64 changes requiring BitInt in more places. Split out from emscripten-core#22773
This involved using toIndexType in a few more places due to recent wasm64 changes requiring BitInt in more places. Split out from emscripten-core#22773
148a408 to
13bcbe9
Compare
This involved using toIndexType in a few more places due to recent wasm64 changes requiring BitInt in more places. Split out from #22773
1c7ab1b to
7b0634d
Compare
Now the firefox and chrome both use BigInt for indexing 64-bit memories and tables this workaround is no longer needed.
7b0634d to
8685f1a
Compare
Now the firefox and chrome both use BigInt for indexing 64-bit memories and tables this workaround is no longer needed.